package com.qfedu.fmmall.service;

import com.baomidou.mybatisplus.extension.service.IService;
import com.qfedu.fmmall.entity.ShoppingCart;
import com.qfedu.fmmall.vo.ResultVO;
import io.swagger.annotations.ApiOperation;
import org.springframework.web.bind.annotation.*;

import java.util.List;

/**
 * <p>
 * 购物车  服务类
 * </p>
 *
 * @author itcast
 * @since 2023-04-19
 */
public interface ShoppingCartService extends IService<ShoppingCart> {

    public ResultVO addShoppingCart( ShoppingCart shoppingCart);

    public ResultVO selectShoppingCart(Integer userId);

    public ResultVO add( Integer cartid, String cartnum);

    public ResultVO selectScart( String cids);

}
